.promotion-container{
    width: 100%;
    background: #FAFAFA;
    padding-top: 80px;
}
.promotion-container.container {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 80px;
  padding-bottom: 30px;
  background: #FAFAFA;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 50px;
}

/* 流程项样式 */
.process-item {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.process-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  color: #FFC637;
  transition: all .3s;
  cursor: pointer;
}

.process-icon:hover{
  transform: scale(1.1);
}

.process-icon i{
  font-size: 36px;
}

.process-icon svg {
  width: 40px;
  height: 40px;
  color: #ffc107;
}

.process-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.process-desc {
  font-size: 14px;
  color: #86909c;
  line-height: 1.5;
}

/* 使用伪类实现连接线 */
.process-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40px;
  /* 垂直居中于图标 */
  /* left: calc(50% + 17px); 
    width: calc(100% - 34px); */
  height: 2px;
  background: rgba(255, 198, 55, 0.2);
  z-index: 1;
}

.process-item:last-child .connector {
  display: none;
}

@media (max-width: 767.98px) {
  .connector {
    display: none;
  }

  /* 为移动端添加垂直连接线 */
  .process-item {
    position: relative;
  }

  .process-item:nth-child(odd):not(:last-child)::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 20px;
    background: rgba(255, 198, 55, 0.2);
    z-index: 1;
  }

  .process-item:nth-child(even):not(:last-child)::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 20px;
    background: rgba(255, 198, 55, 0.2);
    z-index: 1;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .connector {
    top: 30px;
  }
}

/* 小屏幕网格布局 */
@media (max-width: 767.98px) {
  .process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .process-item {
    margin-bottom: 20px;
  }

  /* 重置所有连接线 */
  .process-item::after {
    display: none;
  }

  /* 只显示奇数项的水平连接线 */
  .process-item:nth-child(odd):not(:last-child)::after {
    display: block;
    content: "";
    position: absolute;
    top: 40px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: rgba(255, 198, 55, 0.2);
    z-index: 1;
  }

  /* 隐藏connector元素 */
  .connector {
    display: none;
  }
}

/* 中等屏幕水平流程线 */
@media (min-width: 768px) and (max-width: 991.98px) {
  .process-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
  }

  .process-item {
    flex: 0 0 16%;
    max-width: 16%;
  }

  .process-item:not(:last-child)::after {
    width: calc(100% - 34px);
    /* 减去两边各17px的间距 */
    left: calc(50% + 17px);
    /* 从元素中心向右偏移17px */
    /* 调整中等屏幕下的垂直位置 */
    top: 30px;
    /* 因为中等屏幕图标更小，所以调整位置 */
  }

  .process-icon {
    width: 60px;
    height: 60px;
  }

  .process-icon svg {
    width: 30px;
    height: 30px;
  }

  .process-title {
    font-size: 16px;
  }

  .process-desc {
    font-size: 12px;
  }
}

/* 大屏幕水平流程线 */
@media (min-width: 992px) {
  .process-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
  }

  .process-item {
    flex: 0 0 16%;
    max-width: 16%;
  }

  .process-item:not(:last-child)::after {
    width: 50%;
    left: 76%;
  }
}
